Cellulose found in plants, is the basic food requirement of all termites, and all types of plant material can be damaged. Most termite species eat grass and other surface vegetation and have an important role in maintaining soil fertility. They recycle nutrients, in particular nitrogen, which is essential for healthy plant growth. When termite mounds erode, the soil particles rich in nutrients such as calcium, magnesium and potassium are washed into the soil from the mound to become available for plant growth. Termite galleries improve soil structure, and assist water entry and storage in soil; the galleries thereby reduce surface rainwater runoff and subsequent soil erosion.
Other termite species infest timber and particularly timber, which is in an early state of decay by wood rotting fungi. Some species of timber are resistant to termites, but none is entirely ‘termite proof’. Termites will often damage materials they cannot digest, for example, plastics, rubber, metal or mortar. Primarily, this damage occurs when the indigestible items are encountered during the termites search for food.
Some termites forage for food by means of subterranean galleries or covered runways, which extend from the central nest to food sources above or below ground. The gallery system of a single colony may be used to exploit food sources over as much as one hectare, with individual galleries extending up to 50 m in length for most species. In the case of the giant northern termite, individual galleries may extend as far as 100–200 m. Apart from grass-eating species, which forage in the open all termites remain within a closed system of galleries, devoid of light. The only exceptions are during a swarming flight, or when repair or new construction is occurring. The advantages to the termites of this closed system are twofold. They are protected from natural enemies such as ants, and they gain a measure of protection from temperature and humidity extremes. Termites have a thin external covering and have relatively little resistance to drying out.